#coding: UTF-8

if  __name__ == '__main__':
    print("+---+---+---+")
    print("|   |   |   |")
    print("+---+---+---+")
    print("|   |   |   |")
    print("+---+---+---+")
    print("|   |   |   |")
    print("+---+---+---+")
